SDK/J Authentication Package ver1.0
RICOH Confidential

jp.co.ricoh.dsdk.scard.framework.service
Class CardServiceRegister

java.lang.Object
  extended byjp.co.ricoh.dsdk.scard.framework.service.CardServiceRegister

public class CardServiceRegister
extends java.lang.Object

This class handles registration and deletion of card services.


Constructor Summary
CardServiceRegister()
           Constructs a new CardServiceRegister object.
 
Method Summary
 void add(java.lang.Class cls)
           Registers a card service.
 java.util.Iterator list()
           Obtains the registered card services.
 void remove(java.lang.Class cls)
           Deletes a card service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CardServiceRegister

public CardServiceRegister()
Constructs a new CardServiceRegister object.

Method Detail

add

public void add(java.lang.Class cls)
         throws CardServiceRegistryException
Registers a card service.

Parameters:
cls - a CardService class to register.
Throws:
CardServiceRegistryException - when an error has occurred during registration of a card service.

remove

public void remove(java.lang.Class cls)
            throws CardServiceRegistryException
Deletes a card service.

Parameters:
cls - a CardService class to delete.
Throws:
CardServiceRegistryException - when an error has occurred in deletion of a card service.

list

public java.util.Iterator list()
                        throws CardServiceRegistryException
Obtains the registered card services.

Returns:
the iterator of CardServices class.
Throws:
CardServiceRegistryException - when an error has occurred in the obtainment of the card services.

SDK/J Authentication Package ver1.0
RICOH Confidential